﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DataType
{
    class PointerType
    {
        public static unsafe void pointerType()
        {
            int test = 10;
            int *iptr;
            iptr = &test;

            Console.WriteLine("pointerType 数据值:{0}", *iptr);
            Console.WriteLine("pointerType 数据值:{0}", iptr->ToString());
        }
    }
}
